<?php

namespace App\Http\Controllers\Admin;

use App\Http\Controllers\Controller;
use Illuminate\Http\Request;
use App\Models\BuildForm;
use Illuminate\Support\Facades\Auth;
use Tymon\JWTAuth\Facades\JWTAuth;
use Illuminate\Support\Facades\Validator;
use Illuminate\Support\Facades\Hash;

// 建筑形式
class BuildFormController extends Controller
{
    // 列表
    public function index(Request $request)
    {
        $data = BuildForm::query()
        ->get()
        ->toArray();
          
        return showData($data);    
    }
}

